package com.exchange.View;

import android.app.AlertDialog;
import android.content.Context;
import com.exchange.b.a;

public class s extends AlertDialog
{
  private Context a;
  private a b;
  private int c;
  private int d;

  public s(Context paramContext, a parama, int paramInt1, int paramInt2, int paramInt3)
  {
    super(paramContext);
    this.a = paramContext;
    this.b = parama;
    this.c = paramInt1;
    this.d = paramInt2;
    setMessage("下载 " + this.b.g);
    setButton(-1, "确定", new D(this, paramInt3));
    setButton(-2, "取消", new C(this));
  }

  int a(Context paramContext)
  {
    int i;
    switch (this.c)
    {
    case 2:
    case 3:
    default:
      i = 2;
    case 0:
    case 1:
    case 8:
    case 7:
    case 9:
    case 4:
    case 5:
    case 6:
    }
    while (true)
    {
      while (true)
      {
        while (true)
        {
          while (true)
          {
            while (true)
            {
              while (true)
              {
                return i;
                i = 2;
              }
              i = 2;
            }
            i = 3;
          }
          i = 2;
        }
        i = 3;
      }
      i = 2;
    }
  }
}